package cc.yugu.yhdw.common.protocol.msg06;

import cc.yugu.yhdw.common.protocol.MsgCode;
import cc.yugu.yhdw.common.protocol.msg03.Msg031;
import io.netty.buffer.ByteBuf;

public class Msg061000001 extends Msg061 {

    public String cabinetId;
    public String mobile;

    @Override
    public int getMsgCode() {
        return MsgCode.MSG_061000001.getCode();
    }

    @Override
    public void readData(ByteBuf buffer) {
        cabinetId = readString(buffer);
        mobile = readString(buffer);
    }

    @Override
    public void writeData(ByteBuf buffer) {
        writeString(buffer, cabinetId);
        writeString(buffer, mobile);
    }
}
